<?php
class Cp_FilesController extends Pidguin_Controller_Cp_Action
{
	public function indexAction()
	{
		$this->view->files = Zend_Json::encode(Model_Attachments::getInstance()->fetchAll()->toArray());
	}
}